package com.settlement.system.model.entity.common;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 爱库存-订单赔付明细
 * @author Ximi
 * @since 2020-07-14
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblAkcCompensateDetail extends BaseModel implements Serializable {


    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    @ApiModelProperty(value = "序号",required = true)
    @NotNull(message = "序号不能为空")
    private Integer serialNumber;

    /**
     * 活动ID
     */
    @ExcelProperty(value = "活动ID")
    @ApiModelProperty(value = "活动ID",required = true)
    @NotNull(message = "活动ID不能为空")
    private String actionId;

    /**
     * 店铺编码
     */
    @ExcelProperty(value = "店铺编码")
    @ApiModelProperty(value = "店铺编码")
    private String shopNo;

    /**
     * 店铺名称
     */
    @ExcelProperty(value = "店铺名称")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    @ApiModelProperty(value = "日期")
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date outDate;

    /**
     * 活动名称
     */
    @ExcelProperty(value = "活动名称")
    @ApiModelProperty(value = "活动名称",required = true)
    @NotNull(message = "活动名称不能为空")
    private String actionName;

    /**
     * ad单号
     */
    @ExcelProperty(value = "ad单号")
    @ApiModelProperty(value = "ad单号")
    private String thirdOrderNo;

    /**
     * 申请时间
     */
    @ExcelProperty(value = "申请时间")
    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date applyDate;

    /**
     * 三级单id
     */
    @ExcelProperty(value = "三级单id")
    @ApiModelProperty(value = "三级单id",required = true)
    @NotNull(message = "三级单id不能为空")
    private String thirdOrderId;

    /**
     * 赔付金额
     */
    @ExcelProperty(value = "赔付金额")
    @ApiModelProperty(value = "赔付金额")
    private BigDecimal compensateAmount;

    /**
     * 对账单号
     */
    @ExcelProperty(value = "对账单号")
    @ApiModelProperty(value = "对账单号")
    private String checkAccountNo;

    /**
     * 品牌
     */
    @ExcelProperty(value = "品牌")
    @ApiModelProperty(value = "品牌")
    private String brandName;

    /**
     * 颜色
     */
    @ExcelProperty(value = "颜色")
    @ApiModelProperty(value = "颜色")
    private String colorName;

    /**
     * 条码
     */
    @ExcelProperty(value = "条码")
    @ApiModelProperty(value = "条码")
    private String barcode;

    /**
     * 尺寸
     */
    @ExcelProperty(value = "尺寸")
    @ApiModelProperty(value = "尺寸")
    private String sizeNo;

    /**
     * 款式
     */
    @ExcelProperty(value = "款式")
    @ApiModelProperty(value = "款式")
    private String styleNo;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String itemName;

    /**
     * 商品描述
     */
    @ExcelProperty(value = "商品描述")
    @ApiModelProperty(value = "商品描述")
    private String itemDec;

    /**
     * 赔付理由
     */
    @ExcelProperty(value = "赔付理由")
    @ApiModelProperty(value = "赔付理由")
    private String compensateReason;

    /**
     * 赔付类型
     */
    @ExcelProperty(value = "赔付类型")
    @ApiModelProperty(value = "赔付类型")
    private String compensateType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    /**
     * 提现日期
     */
    @ExcelProperty(value = "提现日期")
    @ApiModelProperty(value = "提现日期",hidden = true)
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date extractMoneyDate;

    /**
     * 机器人确认时间
     */
    @ExcelProperty(value = "机器人确认时间")
    @ApiModelProperty(value = "回款单价(单位:元)",hidden = true)
    private Date robotComfirmDate;


}
